#ifndef MYTASK_H
#define MYTASK_H

#include <QObject>
#include <QRunnable>

class MyTask : public QObject, public QRunnable
{
    Q_OBJECT
public:
    explicit MyTask(int Argument = 0, QObject *parent = 0);
    ~MyTask();

protected:
    void run();

signals:
    void Result(int Number);

private:
    int Argument;
};

#endif // MYTASK_H
